package com.server.questionbank.snframe.util.MinIo;

public interface MinIoFactory {
    // 判断Bucket是否存在
    public boolean bucketExists(String bucketName) throws Exception;
    // 创建Bucket
    public MinIoBucket createBucket(String bucketName) throws Exception;
    // 打开Bucket
    public MinIoBucket openBucket(String bucketName, Boolean createIfNotExists) throws Exception;
    public MinIoBucket openBucket(String bucketName) throws Exception;
}
